package com.lagou.service;

import com.lagou.pojo.Token;

public interface IUserService {

    public Token register(String email, String password, String code);

    public boolean isRegistered(String email);

    public Token login(String email, String password);

    public String getEmailByToken(String tokenText);

    public void logout();
}
